#include "shop_dish.h"



ShopDish::ShopDish(Dish dish, int quantity){//本来这里爆了没有默认构造函数的错，插眼
    this->dish = dish;
    this->quantity = quantity;
}

Dish ShopDish::get_dish(){
    return dish;
}

void ShopDish::add_num(){
    quantity++;
}

void ShopDish::minus_num(){
    quantity--;
}

int ShopDish::get_num(){
    return quantity;
}